package com.samphanie.auiu.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.samphanie.auiu.admin.domain.vo.RoleVo;
import com.samphanie.auiu.common.dto.RoleDto;
import com.samphanie.auiu.mbg.model.SysRole;
import com.samphanie.auiu.mbg.model.SysRoleResource;

import java.util.List;

/**
 * @author Dries
 * @email 1451691457@qq.com
 */
public interface ISysRoleService extends IService<SysRole> {

    boolean add(RoleDto role);

    boolean updateRole(RoleDto roleDto);

    List<RoleVo> listRoleList();

    List<String> getRolesNames();

    List<SysRoleResource> getRoleResourceRelations();
}
